{extend name='main'}

{block name='content'}

<style>

    .store-total-container {
        font-size: 14px;
        margin-bottom: 20px;
        letter-spacing: 1px;
    }

    .store-total-container .store-total-icon {
        top: 45%;
        right: 8%;
        font-size: 65px;
        position: absolute;
        color: rgba(255, 255, 255, 0.4);
    }

    .store-total-container .store-total-item {
        color: #fff;
        line-height: 4em;
        padding: 15px 25px;
        position: relative;
    }

    .store-total-container .store-total-item > div:nth-child(2) {
        font-size: 46px;
        line-height: 46px;
    }

    .num2{font-size: 20px;font-weight: bold;line-height: 100%}
    .store-total-container .store-total-item > div:nth-child(2) {
        font-size: 26px;
        line-height: 36px;
        font-weight: bold;
    }
    .store-total-container .store-total-item{line-height: 2em}
</style>

<div class="think-box-shadow store-total-container notselect">

    <div class="margin-bottom-15">统计
        <a href="{$http}&day=0" class="layui-btn layui-btn-sm" >今 天</a>
        <a href="{$http}&day={$day-1}" class="layui-btn layui-btn-sm" >上一天</a>
        <a href="{$http}&day={$day+1}" class="layui-btn layui-btn-sm" >下一天</a>
    </div>
    
    <div style="margin-bottom:10px">
        <strong style="font-size:35px">墨西哥时间：{$now_date}</strong>
    </div>
    <div style="margin-bottom:10px">
        <strong style="font-size:35px">今日充值：{$today_recharge}</strong>
    </div>
    <div style="margin-bottom:10px">
        <strong style="font-size:35px;">本月充值：{$mouth_recharge}</strong>
    </div>
    <div style="margin-bottom:10px">
        <strong style="font-size:35px">今日提现：{$today_withdrawal}</strong>
    </div>
    <div style="margin-bottom:10px">
        <strong style="font-size:35px;">本月提现：{$mouth_withdrawal}</strong>
    </div>
    
    
    当前查询时间为:{$yes1|toDate} --- {$yes2|toDate}
    <div class="layui-row layui-col-space15">

        <div class="layui-col-sm6 layui-col-md2">
            <div class="store-total-item nowrap" style="background:linear-gradient(-125deg,#57bdbf,#2f9de2)">
                <div>注册人数</div>
                <div>{$info.reg_num}</div>
            </div>
            <i class="store-total-icon layui-icon layui-icon-template-1"></i>
        </div>
        <div class="layui-col-sm6 layui-col-md2">
            <div class="store-total-item nowrap" style="background:linear-gradient(-125deg,#ff7d7d,#fb2c95)">
                <div>通道充值</div>
                <div>{$info.c_recharge}</div>
            </div>
            <i class="store-total-icon layui-icon layui-icon-user"></i>
        </div>
        <!--<div class="layui-col-sm6 layui-col-md2">-->
        <!--    <div class="store-total-item nowrap" style="background:linear-gradient(-113deg,#c543d8,#925cc3)">-->
        <!--        <div>通道手续费</div>-->
        <!--        <div>{$info.service_cz}</div>-->
        <!--    </div>-->
        <!--    <i class="store-total-icon layui-icon layui-icon-read"></i>-->
        <!--</div>-->
        <div class="layui-col-sm6 layui-col-md2">
            <div class="store-total-item nowrap" style="background:linear-gradient(-113deg,#c543d8,#925cc3)">
                <div>今日首充人数</div>
                <div>{$info.c_day_shou}</div>
            </div>
            <i class="store-total-icon layui-icon layui-icon-read"></i>
        </div>
        <div class="layui-col-sm6 layui-col-md2">
            <div class="store-total-item nowrap" style="background:linear-gradient(-113deg,#c543d8,#925cc3)">
                <div>本月首冲人数</div>
                <div>{$info.c_day_yue}</div>
            </div>
            <i class="store-total-icon layui-icon layui-icon-read"></i>
        </div>

        <!--<div class="layui-col-sm6 layui-col-md2">-->
        <!--    <div class="store-total-item nowrap" style="background: linear-gradient(-113deg,#8e8cb3,#2219d0);">-->
        <!--        <div>手动充值</div>-->
        <!--        <div>{$info.m_recharge}</div>-->
        <!--    </div>-->
        <!--    <i class="store-total-icon layui-icon layui-icon-rmb"></i>-->
        <!--</div>-->

        <div class="layui-col-sm6 layui-col-md2">
            <div class="store-total-item nowrap" style="background:linear-gradient(-141deg,#ecca1b,#f39526)">
                <div>提现金额</div>
                <div>{$info.m_withdrawal}</div>
            </div>
            <i class="store-total-icon layui-icon layui-icon-survey"></i>
        </div>

        <!--<div class="layui-col-sm6 layui-col-md2">-->
        <!--    <div class="store-total-item nowrap" style="background: linear-gradient(-141deg,#ea7575,#abd6c6);">-->
        <!--        <div>提现手续费</div>-->
        <!--        <div>{$info.m_withdrawal_cost}</div>-->
        <!--    </div>-->
        <!--    <i class="store-total-icon layui-icon layui-icon-survey"></i>-->
        <!--</div>-->

        <!--<div class="layui-col-sm6 layui-col-md2">-->
        <!--    <div class="store-total-item nowrap" style="background: linear-gradient(-141deg,#ec4b1b,#f39526);">-->
        <!--        <div>抢单次数</div>-->
        <!--        <div>{$info.grab_num}</div>-->
        <!--    </div>-->
        <!--    <i class="store-total-icon layui-icon layui-icon-dollar"></i>-->
        <!--</div>-->


        <!--<div class="layui-col-sm6 layui-col-md2">-->
        <!--    <div class="store-total-item nowrap" style="background: linear-gradient(-141deg,#963064,#8a0920);">-->
        <!--        <div>充值次数</div>-->
        <!--        <div>{$info.r_number}</div>-->
        <!--    </div>-->
        <!--    <i class="store-total-icon layui-icon layui-icon-survey"></i>-->
        <!--</div>-->

        <div class="layui-col-sm6 layui-col-md2">
            <div class="store-total-item nowrap" style="background: linear-gradient(-141deg,#1bec78,#155623);">
                <div>盈利金额</div>
                <div>{$info.profit}</div>
            </div>
            <i class="store-total-icon layui-icon layui-icon-dollar"></i>
        </div>
        <!--<div class="layui-col-sm6 layui-col-md2">-->
        <!--    <div class="store-total-item nowrap" style="background: linear-gradient(-141deg,#1bec78,#155623);">-->
        <!--        <div>手动扣款</div>-->
        <!--        <div>{$info.kou}</div>-->
        <!--    </div>-->
        <!--    <i class="store-total-icon layui-icon layui-icon-dollar"></i>-->
        <!--</div>-->
        

    </div>
</div>

<div class="layui-row layui-col-space15">
    <div class="layui-col-md6">
        <div class="think-box-shadow">
            <table class="layui-table" lay-skin="line" lay-even>
                <caption class="text-left margin-bottom-15 font-s14">系统信息</caption>
                <colgroup>
                    <col width="30%">
                </colgroup>
                <tbody>
                <tr>
                    <td>当前程序版本</td>
                    <td>{:sysconf('app_version')}</td>
                </tr>
                <tr>
                    <td>运行PHP版本</td>
                    <td>{$Think.PHP_VERSION}</td>
                </tr>
                <tr>
                    <td>ThinkPHP版本</td>
                    <td>{$think_ver}</td>
                </tr>
                <tr>
                    <td>MySQL数据库版本</td>
                    <td>{$mysql_ver}</td>
                </tr>
                <tr>
                    <td>服务器操作系统</td>
                    <td>{:php_uname('s')}</td>
                </tr>
                <tr>
                    <td>WEB运行环境</td>
                    <td>{:php_sapi_name()}</td>
                </tr>
                <tr>
                    <td>上传大小限制</td>
                    <td>{:ini_get('upload_max_filesize')}</td>
                </tr>
                <tr>
                    <td>POST大小限制</td>
                    <td>{:ini_get('post_max_size')}</td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
    <div class="layui-col-md6">
        <div class="think-box-shadow" id="versionTest">
            <table class="layui-table" lay-skin="line" lay-even>
                <caption class="text-left margin-bottom-15 font-s14">产品团队</caption>
                <colgroup>
                    <col width="30%">
                </colgroup>
                <tbody>
                <tr>
                    <td>产品名称</td>
                    <td>学习测试</td>
                </tr>
                <tr>
                    <td>产品说明</td>
                    <td>本Demo只为学习测试交流,请勿要做商业或者用于违法行为,一切后果自负.</td>
                </tr>
                <tr>
                    <td>请勿点击</td>
                    <td>
                        <a href="#">
                            <img src="" style="height:18px;width:auto" target="_blank">
                        </a>
                    </td>
                </tr>
                <tr>
                    <td>产品大小</td>
                    <td>50.5M</td>
                </tr>
                <tr>
                    <td>数据库</td>
                    <td>MySQL</td>
                </tr>
                <tr>
                    <td>内部版号</td>
                    <td>{:config('version')}</td>
                </tr>
                <tr>
                    <td>开发者QQ</td>
                    <td>1467572213</td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>
<script>
    $(function () {
        if ($('#versionTest').data('version')) {
            setTimeout(function () {
                updateVersion();
            }, 1000);
        }
    });
</script>
<script>form.render()</script>
{/block}
